package com.chartshow.service.impl;

import com.chartshow.entity.User;
import com.chartshow.mapper.UserDao;
import com.chartshow.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName UserServiceImpl
 * @Description TODO
 * @Author zeny
 * @Date 2020/2/26 23:55
 * @Version 1.0
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public List<User> userList() {
        return userDao.userList();
    }
}
